/**
 * 
 * purpose: evnts of ButtonGroup...
 * @auth: Ning
 * date: 2009-8-20
 * 
 * */
package com.components.button
{
	import flash.events.Event;

	public class ButtonEvents extends Event
	{
		//START...
		public static const BUTTON_SELECTED:String = "button_selected";
		
		public static const BUTTON_ON:String = "button_on";
		
		public static const BUTTON_OFF:String = "button_off";
					
		//PROPERTY...
		public var selectedItem:MCButton;
		
		//CONSTRUCTOR...
		public function ButtonEvents(type:String, selectedButton:MCButton = null)
		{
			
			selectedItem = selectedButton;
			
			super(type, bubbles, cancelable);
		
		}
		
		//METHODS...
		
		//override clone...
		public override function clone():Event
		{
			
			return new ButtonEvents(type,selectedItem);
			
		}
		
		
		//END
	}
}